<extend name="Public/base"/>


<block name="body">
    <div class="main-title">
        <h2>发送模板消息</h2>
    </div>
    <form action="/lib/send_msg.php" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">用户id</label>
            <div class="controls">
                <input type="text" class="text input-large" name="to_user_id" value="{$to_user_id}">
            </div>
        </div>

        <div class="form-item">
            <label class="item-label">模板id</label>
            <div class="controls">
                <select name="template_id">
                    <volist name="moban" id="vo">
                        <option value="{$vo.msg_template_id}">{$vo.msg_template_id}</option>
                    </volist>
                </select>
            </div>
        </div>

        <div class="form-item">
            <label class="item-label">head_color<span class="check-tips">(顶部色条的色值)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="head_color">
            </div>
        </div>

       <div class="form-item">
            <label class="item-label">url<span class="check-tips">(点击消息后承接页的地址)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="url">
            </div>
        </div>

         <div class="form-item">
            <label class="item-label">action_name<span class="check-tips">(底部链接描述文字，如“查看详情”)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="action_name">
            </div>
        </div>

       <div class="form-item">
            <label class="item-label">keyword1.color<span class="check-tips">(模板中占位符的值及文字颜色，value和color都为必填项，color为当前文字颜色)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="keyword1['color']">
            </div>
        </div>

         <div class="form-item">
            <label class="item-label">keyword1.value<span class="check-tips">(模板中占位符的值及文字颜色，value和color都为必填项，color为当前文字颜色)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="keyword1['value']">
            </div>
        </div>


      <div class="form-item">
            <label class="item-label">keyword2.color<span class="check-tips">(模板中占位符的值及文字颜色，value和color都为必填项，color为当前文字颜色)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="keyword2['color']">
            </div>
        </div>

      <div class="form-item">
            <label class="item-label">keyword2.value<span class="check-tips">(模板中占位符的值及文字颜色，value和color都为必填项，color为当前文字颜色)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="keyword2['value']">
            </div>
        </div>



      <div class="form-item">
            <label class="item-label">first.color<span class="check-tips">(模板中占位符的值及文字颜色，value和color都为必填项，color为当前文字颜色)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="first['color']">
            </div>
        </div>

      <div class="form-item">
            <label class="item-label">first.value<span class="check-tips">(模板中占位符的值及文字颜色，value和color都为必填项，color为当前文字颜色)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="first['value']">
            </div>
        </div>

      <div class="form-item">
            <label class="item-label">remark.color<span class="check-tips">(模板中占位符的值及文字颜色，value和color都为必填项，color为当前文字颜色)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="remark['color']">
            </div>
        </div>

      <div class="form-item">
            <label class="item-label">remark.value<span class="check-tips">(模板中占位符的值及文字颜色，value和color都为必填项，color为当前文字颜色)</span></label>
            <div class="controls">
               <input type="text" class="text input-large" name="remark['value']">
            </div>
        </div>



        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script src="__STATIC__/layui/layui/layui.js"></script>
    <script type="text/javascript">
        
        highlight_subnav("{:U('userlist')}");

    </script>

</block>
